home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / tool_inc.zip / MINIDISP.INC < prev    next >
Text File  |  1989-06-02  |  740b  |  31 lines

  1.  
  2. (*
  3.  * Copyright 1987, 1989 Samuel H. Smith;  All rights reserved
  4.  *
  5.  * This is a component of the ProDoor System.
  6.  * Do not distribute modified versions without my permission.
  7.  * Do not remove or alter this notice or any other copyright notice.
  8.  * If you use this in your own program you must distribute source code.
  9.  * Do not use any of this in a commercial product.
  10.  *
  11.  *)
  12.  
  13. procedure disp(m: string);
  14. begin
  15.    write(stdout,m);
  16.    flush(stdout);
  17.    if not local then 
  18.       transmit_data(m);
  19. end;
  20.  
  21. procedure displn(m: longstring);
  22.    {private version of procomm.inc's displn; needed here because of
  23.     tp4's scoping rules}
  24. begin
  25.    disp(m);
  26.    if not local then
  27.       transmit_data(^M^J);
  28.    writeln;
  29. end;
  30.  
  31.